* {
	box-sizing: border-box;
	outline: none;
}

html,
body,
#app {
	height: 100%;
	width: 100%;
}

.tapMe {
	&:active {
		// -webkit-tap-highlight-color:transparent;
		background-color: rgba(0, 0, 0, 0.03);
		opacity: 0.8;
	}
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
	width: 1.5px;
	height: 1.5px;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
	// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

// ::-webkit-scrollbar-thumb:window-inactive {
//   background: rgba(0, 0, 0, 0.5);;
// }
.hiddenScrollbar {
	&::-webkit-scrollbar {
		width: 0;
		height: 0;
	}
}

/* 指针变小手 */
.pointer {
	cursor: pointer;
}

.help {
	cursor: help !important;
}

.blue {
	color: #1d83f5;
}

// margin
.mt5 {
	margin-top: 5px;
}

.mt10 {
	margin-top: 10px;
}

.mt15 {
	margin-top: 15px;
}

.mt20 {
	margin-top: 20px;
}

.mr5 {
	margin-right: 5px;
}

.mr10 {
	margin-right: 10px;
}

.mr15 {
	margin-right: 15px;
}

.mr20 {
	margin-right: 20px;
}

.mb5 {
	margin-bottom: 5px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb15 {
	margin-bottom: 15px;
}

.mb20 {
	margin-bottom: 20px;
}

.ml5 {
	margin-left: 5px;
}

.ml10 {
	margin-left: 10px;
}

.ml15 {
	margin-left: 15px;
}

.ml20 {
	margin-left: 20px;
}

// padding
.pt5 {
	padding-top: 5px;
}

.pt10 {
	padding-top: 10px;
}

.pt15 {
	padding-top: 15px;
}

.pr5 {
	padding-right: 5px;
}

.pr10 {
	padding-right: 10px;
}

.pr15 {
	padding-right: 15px;
}

.pb5 {
	padding-bottom: 5px;
}

.pb10 {
	padding-bottom: 10px;
}

.pb15 {
	padding-bottom: 15px;
}

.pl5 {
	padding-left: 5px;
}

.pl10 {
	padding-left: 10px;
}

.pl15 {
	padding-left: 15px;
}

.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.fixed {
	position: fixed;
}

.flex {
	display: flex;
}

.block {
	display: block;
}

.wrap {
	flex-wrap: wrap;
}

.noWrap {
	flex-wrap: nowrap;
}

.alignCenter {
	align-items: center;
}

.wfill {
	width: -webkit-fill-available;
}

.justifyCenter {
	justify-content: center;
}

.breakAll {
	word-break: break-all;
}

.justifyRight,
.end {
	justify-content: flex-end;
}

.flexstart {
	justify-content: flex-start;
}

.fit {
	width: fit-content;
}

.fitH {
	height: fit-content;
}

.flexnone {
	flex: none;
}

.w100 {
	width: 100%;
}

.h100 {
	height: 100%;
}

.alignEnd {
	align-items: flex-end;
}

.alignStart {
	align-items: flex-start;
}

.ellipsis {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: list-item;
}

.dotDecoration {
	text-decoration: dotted underline;
}

.oHidden {
	overflow: hidden;
}

.oAuto {
	overflow: auto;
}

.scroll {
	overflow: scroll;
}

.noEvent {
	pointer-events: none;
}

.white {
	color: white;
}

.black {
	color: black;
}

.gray {
	color: #5d5d5d;
}

.green {
	color: #4caf50;
}

.selectnone {
	user-select: none;
}

.d8em {
	font-size: 0.8em;
}

.noData {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	flex: 1;
	font-size: 13px;
	left: 0;
	top: 0;
	flex-direction: column;

	&::before {
		content: '';
		display: flex;
		flex: none;
		width: 150px;
		height: 150px;
		background: url('@/images/noData.png') center / 100% no-repeat;
	}
}

.top0 {
	top: 0;
}

.bottom0 {
	bottom: 0;
}

.bold {
	font-weight: bold;
}

.grid {
	display: grid;
}

.none {
	display: none;
}

.red {
	color: red;
}

.wAuto {
	width: auto;
}

.hAuto {
	height: auto;
}

.left0 {
	left: 0;
}

.column {
	flex-direction: column;
}

.row {
	flex-direction: row;
}

.between {
	justify-content: space-between;
}

.around {
	justify-content: space-around;
}

.flex1 {
	flex: 1;
}

.flexauto {
	flex: auto;
}

.b50 {
	flex-basis: 50%;
}

.inlineBlock {
	display: inline-block;
}

.tableRow {
	display: table-row;
}

.tableHead {
	position: relative;

	&::before {
		content: '';
		border-left: 3px solid @homecolor;
		justify-content: space-between;
		position: absolute;
		left: 0;
		height: 1em;
	}
}

.vantIconCenter {
	display: flex !important;
	flex: none;
	align-items: center;
	justify-content: center;
}

.jsonNotice {
	.el-notification__content {
		overflow-y: auto;
		max-height: 500px;

		p {
			white-space: pre-line;
			display: flex;
			word-break: break-all;
			width: 243px;
		}
	}
}

.myElDialog {
	.el-overlay-dialog {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		height: 100%;
		width: 100%;
		overflow: hidden;

		.el-dialog {}

		.el-dialog__body {
			overflow-y: auto;
			max-height: 500px;
			padding-right: 20px;
		}
	}
}

.myTable {
	.el-table__body-wrapper {
		height: 100%;
	}
}


.myRotate {
	animation: mySpin 2s linear infinite;
	/* 设置动画 */
}

@keyframes mySpin {
	from {
		transform: rotate(0deg);
		/* 从0度开始 */
	}

	to {
		transform: rotate(360deg);
		/* 旋转到360度 */
	}
}